<template>
  <div class="map">
    <van-nav-bar
      title="地图找房"
      left-arrow
      @click-left="onClickLeft"
    />
    <baidu-map />
  </div>
</template>

<script>
import BaiduMap from './components/BaiduMap.vue'

export default {
  components: { BaiduMap },

  data() {
    return {

    }
  },

  created() {

  },

  methods: {
    onClickLeft() {
      this.$router.push('/layout/home')
    }

  }

}
</script>

<style scoped lang='less'>

.van-nav-bar{
  background-color: rgb(33, 185, 122) ;
}
/deep/.van-nav-bar__title{
  color: #fff;
}
/deep/.van-nav-bar__arrow{
  color: #fff !important;
}
</style>
